package com.itdog.shader_load

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log

class MainActivity: AppCompatActivity() {

    private lateinit var glSurfaceView: MyGLSurfaceView

    public override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        Log.i(Companion.TAG, "onCreate: ${NativeBridge.getVersion()}")

        glSurfaceView = MyGLSurfaceView(this)
        setContentView(glSurfaceView)
    }

    companion object {
        private const val TAG = "MainActivity"
    }

}